﻿using YAPACS.RisServer.Services.Dtos;
using YAPACS.Workflows;

namespace YAPACS.RisServer.Abstractions;

public interface IStudyService
{
    /// <summary>
    /// 获取Study
    /// </summary>
    /// <returns></returns>
    Task<WorkflowOutput> GetStudiesAsync(DataGridRequest request);
    /// <summary>
    /// 创建study的Exam
    /// </summary>
    /// <param name="studyIds"></param>
    /// <returns></returns>
    Task<WorkflowOutput> CreateStudyExamAsync(IList<Guid> studyIds);
    /// <summary>
    /// 申请会诊
    /// </summary>
    /// <param name="examIds"></param>
    /// <returns></returns>
    Task<WorkflowOutput> ApplyConsultationAsync(IList<Guid> examIds);
}
